package car.aistar.service.Impl.xxr;





import car.aistar.dao.XXRxiaohsou;
import car.aistar.service.XXRxiaoshouService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @ClassName xiaoshou
 * @Description TODO
 * @Author 肖
 * @Date 2020/10/4 20:06
 * Version 1.0
 **/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:spring/spring-*.xml")
public class xiaoshou {

    @Autowired
    private XXRxiaoshouService xxRxiaoshouService;
    @Autowired
    private XXRxiaohsou xxRxiaohsou;
    @Test
    public void testYuyue(){
        System.out.println(xxRxiaoshouService.findAllYuyue(4L,""));
    }


    @Test
    public void  testK(){
        System.out.println(xxRxiaohsou.findAllKanjia(2L,"13sdfa"));
    }

    @Test
    public  void teatFindAllCar(){
        System.out.println(xxRxiaohsou.findAllCar(2L,""));
    }


    /**
    *@Author 肖相荣
    *@Description //TODO 销售页面交易记录表测试
    *@Date 22:07 2020/10/6
    *@Param
    *@return
    **/

    @Test
    public void testFindAllRecord(){
        System.out.println(xxRxiaoshouService.findByPageRecord(61L,"",1,1));
//        System.out.println(xxRxiaohsou.findAllRecord(61L,""));
    }
}
